elog

Kimi.Huang 5 lat temu
rodzic
commit
5b47babbb6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/encrypt_views.py

+ 1 - 1
api/encrypt_views.py

@@ -135,7 +135,7 @@ def decrypt(request):
135 135
 
136 136
     # 红包
137 137
     try:
138
-        elog = MchInfoEncryptLogInfo.objects.get(sn=sn)
138
+        elog = MchInfoEncryptLogInfo.objects.get(plaintext=plaintext)
139 139
     except MchInfoEncryptLogInfo.DoesNotExist:
140 140
         elog = None
141 141
     except MchInfoEncryptLogInfo.MultipleObjectsReturned: